package cn.kgc.kmall.ware.dao;

import cn.kgc.kmall.ware.entity.WareSkuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 商品库存
 * 
 * @author chenkaifeng
 * @email 403707110@qq.com
 * @date 2022-04-06 15:49:35
 */
@Mapper
public interface WareSkuDao extends BaseMapper<WareSkuEntity> {
	void addStock(@Param("skuId") Long skuId,
                  @Param("wareId") Long wareId,
                  @Param("skuNum") Integer skuNum);
}
